package com.dg11185.nearshop.net.entity;

import org.json.JSONObject;

/**
 * 用户活动记录实体
 * @author：Daibo    
 * @time：2014-8-22 下午3:06:20
 */
public class ActivityRecord {

    public String activityRecordId = "";
    
    public String activityId = "";
    
    public String activityName = "";
    
    public String activityType = "";
    
    public String userId = "";
    
    public String userName = "";
    
    public String userType = "";
    
    public String joinResult = "";
    
    public String createTime = "";
    
    public String remark = "";
    
    public ActivityRecord(){
        
    }
    
    public void parseEntity(JSONObject object){
        activityRecordId = object.optString("activityRecordId");
        activityId = object.optString("activityId");
        activityName = object.optString("activityName");
        activityType = object.optString("activityType");
        userId = object.optString("userId");
        userName = object.optString("userName");
        userType = object.optString("userType");
        joinResult = object.optString("joinResult");
        createTime = object.optString("createTime");
        remark = object.optString("remark");
    }
}
